3.9.91 \(\int \frac {x^2}{\sqrt {1-x^4}} \, dx\) [891]

Optimal. Leaf size=11 \[ E\left (\left .\sin ^{-1}(x)\right |-1\right )-F\left (\left .\sin ^{-1}(x)\right |-1\right ) \]

[Out]

EllipticE(x,I)-EllipticF(x,I)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {313, 227, 1195, 435} \begin {gather*} E(\text {ArcSin}(x)|-1)-F(\text {ArcSin}(x)|-1) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^2/Sqrt[1 - x^4],x]

[Out]

EllipticE[ArcSin[x], -1] - EllipticF[ArcSin[x], -1]

Rule 227

Int[1/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> Simp[EllipticF[ArcSin[Rt[-b, 4]*(x/Rt[a, 4])], -1]/(Rt[a, 4]*Rt[
-b, 4]), x] /; FreeQ[{a, b}, x] && NegQ[b/a] && GtQ[a, 0]

Rule 313

Int[(x_)^2/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> With[{q = Rt[-b/a, 2]}, Dist[-q^(-1), Int[1/Sqrt[a + b*x^4]
, x], x] + Dist[1/q, Int[(1 + q*x^2)/Sqrt[a + b*x^4], x], x]] /; FreeQ[{a, b}, x] && NegQ[b/a]

Rule 435

Int[Sqrt[(a_) + (b_.)*(x_)^2]/Sqrt[(c_) + (d_.)*(x_)^2], x_Symbol] :> Simp[(Sqrt[a]/(Sqrt[c]*Rt[-d/c, 2]))*Ell
ipticE[ArcSin[Rt[-d/c, 2]*x], b*(c/(a*d))], x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] && GtQ[a, 0
]

Rule 1195

Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[(-a)*c, 2]}, Dist[Sqrt[-c], Int
[(d + e*x^2)/(Sqrt[q + c*x^2]*Sqrt[q - c*x^2]), x], x]] /; FreeQ[{a, c, d, e}, x] && GtQ[a, 0] && LtQ[c, 0]

Rubi steps

\begin {align*} \int \frac {x^2}{\sqrt {1-x^4}} \, dx &=-\int \frac {1}{\sqrt {1-x^4}} \, dx+\int \frac {1+x^2}{\sqrt {1-x^4}} \, dx\\ &=-F\left (\left .\sin ^{-1}(x)\right |-1\right )+\int \frac {\sqrt {1+x^2}}{\sqrt {1-x^2}} \, dx\\ &=E\left (\left .\sin ^{-1}(x)\right |-1\right )-F\left (\left .\sin ^{-1}(x)\right |-1\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
time = 10.02, size = 20, normalized size = 1.82 \begin {gather*} \frac {1}{3} x^3 \, _2F_1\left (\frac {1}{2},\frac {3}{4};\frac {7}{4};x^4\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^2/Sqrt[1 - x^4],x]

[Out]

(x^3*Hypergeometric2F1[1/2, 3/4, 7/4, x^4])/3

________________________________________________________________________________________

Maple [B] Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 38 vs. \(2 (11 ) = 22\).
time = 0.14, size = 39, normalized size = 3.55

method result size
meijerg \(\frac {x^{3} \hypergeom \left (\left [\frac {1}{2}, \frac {3}{4}\right ], \left [\frac {7}{4}\right ], x^{4}\right )}{3}\) \(15\)
default \(-\frac {\sqrt {-x^{2}+1}\, \sqrt {x^{2}+1}\, \left (\EllipticF \left (x , i\right )-\EllipticE \left (x , i\right )\right )}{\sqrt {-x^{4}+1}}\) \(39\)
elliptic \(-\frac {\sqrt {-x^{2}+1}\, \sqrt {x^{2}+1}\, \left (\EllipticF \left (x , i\right )-\EllipticE \left (x , i\right )\right )}{\sqrt {-x^{4}+1}}\) \(39\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/(-x^4+1)^(1/2),x,method=_RETURNVERBOSE)

[Out]

-(-x^2+1)^(1/2)*(x^2+1)^(1/2)/(-x^4+1)^(1/2)*(EllipticF(x,I)-EllipticE(x,I))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(-x^4+1)^(1/2),x, algorithm="maxima")

[Out]

integrate(x^2/sqrt(-x^4 + 1), x)

________________________________________________________________________________________

Fricas [A]
time = 0.07, size = 14, normalized size = 1.27 \begin {gather*} -\frac {\sqrt {-x^{4} + 1}}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(-x^4+1)^(1/2),x, algorithm="fricas")

[Out]

-sqrt(-x^4 + 1)/x

________________________________________________________________________________________

Sympy [B] Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 31 vs. \(2 (5) = 10\).
time = 0.31, size = 31, normalized size = 2.82 \begin {gather*} \frac {x^{3} \Gamma \left (\frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {3}{4} \\ \frac {7}{4} \end {matrix}\middle | {x^{4} e^{2 i \pi }} \right )}}{4 \Gamma \left (\frac {7}{4}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2/(-x**4+1)**(1/2),x)

[Out]

x**3*gamma(3/4)*hyper((1/2, 3/4), (7/4,), x**4*exp_polar(2*I*pi))/(4*gamma(7/4))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(-x^4+1)^(1/2),x, algorithm="giac")

[Out]

integrate(x^2/sqrt(-x^4 + 1), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.09 \begin {gather*} \int \frac {x^2}{\sqrt {1-x^4}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/(1 - x^4)^(1/2),x)

[Out]

int(x^2/(1 - x^4)^(1/2), x)

________________________________________________________________________________________